package com.apps.goods.model.vo;

import com.apps.goods.model.po.KupaGoodsSearchCatKeyworld;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class KupaGoodsSearchVo implements Serializable
{
    private static final long serialVersionUID = 3055401963742702196L;

    /**
     * 分类名称
     */
    private String name;
    /**
     * 关键词列表
     */
    private List<KupaGoodsSearchCatKeyworld> record=new ArrayList<>();

    public KupaGoodsSearchVo(String name, List<KupaGoodsSearchCatKeyworld> record) {
        this.name = name;
        this.record = null != record?record:new ArrayList<>();
    }
}
